package org.vectrics.cms;

import org.vectrics.common.db.RecordObject;
import org.vectrics.domain.Domain;
import org.vectrics.user.UserPrivilegeType;

/**
 * This class determines which user privilege a user must have in order to change
 * CMS content for a particular CMS section.
 * @author Mike Moore
 *
 */
public class CmsSection implements RecordObject {
	private Long id = null;
	private String code = null;
	private String description = null;
	private Domain domain = null;
	private UserPrivilegeType userPrivilegeType = null;
	
	public Long getId() {
		return id;
	}
	
	public void setId(Long id) {
		this.id = id;
	}
	
	
	public Domain getDomain() {
		return domain;
	}
	
	public void setDomain(Domain domain) {
		this.domain = domain;
	}
	
	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public UserPrivilegeType getUserPrivilegeType() {
		return userPrivilegeType;
	}

	public void setUserPrivilegeType(UserPrivilegeType userPrivilegeType) {
		this.userPrivilegeType = userPrivilegeType;
	}
	
	
}
